﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Reg.aspx.cs" Inherits="Reg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>注册 - XPUS</title>
	<style type="text/css">
		.style1
		{
			width: 143px;
		}
	</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
		<asp:Label ID="lblMessage" runat="server"></asp:Label>
		<br />
		<table>
			<tr><th colspan="3">用户信息</th></tr>
			<tr><td class="style1">用户名：</td><td><asp:TextBox ID="txtUserName" runat="server"></asp:TextBox></td><td>
					<asp:RequiredFieldValidator ID="rfvUserName" runat="server" 
						ErrorMessage="必须输入用户名。" ControlToValidate="txtUserName" Display="Dynamic"></asp:RequiredFieldValidator></td></tr>
			<tr><td class="style1">昵称：</td><td><asp:TextBox ID="txtNickname" runat="server"></asp:TextBox></td><td>
					<asp:RequiredFieldValidator ID="rfvNickname" runat="server" 
						ErrorMessage="必须输入昵称。" ControlToValidate="txtNickname" Display="Dynamic"></asp:RequiredFieldValidator></td></tr>
			<tr><td class="style1">安全邮箱：</td><td><asp:TextBox ID="txtSecurityEmail" runat="server"></asp:TextBox></td><td>
					<asp:RequiredFieldValidator ID="rfvSecurityEmail" runat="server" 
						ErrorMessage="必须输入安全邮箱。" ControlToValidate="txtSecurityEmail"></asp:RequiredFieldValidator>安全邮箱仅用于找回密码。不会显示给任何其他用户，XPUS也不会像该邮箱发送除密码等私密信息之外的任何其他信息（如广告、推送内容等）。</td></tr>
			<tr><td class="style1">密码：</td><td>
				<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
				</td><td>
					<asp:RequiredFieldValidator ID="rfvPassword" runat="server" 
						ErrorMessage="必须输入密码。" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
				</td></tr>
			<tr><td class="style1">确认密码：</td><td>
				<asp:TextBox ID="txtRepeatPassword" runat="server" TextMode="Password"></asp:TextBox>
				</td><td>
					<asp:CompareValidator ID="cvRepeatPassword" runat="server" 
						ControlToCompare="txtPassword" ControlToValidate="txtRepeatPassword" 
						ErrorMessage="两次输入的密码不一致。"></asp:CompareValidator>
				</td></tr>
			<tr><td class="style1">密码提示问题：</td><td>
				<asp:TextBox ID="txtPasswordQuestion" runat="server"></asp:TextBox>
				</td><td>
					<asp:RequiredFieldValidator ID="rfvPasswordQuestion" runat="server" 
						ErrorMessage="必须输入密码提示问题。" ControlToValidate="txtPasswordQuestion"></asp:RequiredFieldValidator>
				</td></tr>
			<tr><td class="style1">密码提示问题答案：</td><td>
				<asp:TextBox ID="txtPasswordAnswer" runat="server"></asp:TextBox>
				</td><td>
					<asp:RequiredFieldValidator ID="rfvPasswordAnswer" runat="server" 
						ErrorMessage="必须输入密码提示问题答案。" ControlToValidate="txtPasswordAnswer"></asp:RequiredFieldValidator>
				</td></tr>
			<tr><td class="style1">联系邮箱：</td><td>
				<asp:TextBox ID="txtContactEmail" runat="server"></asp:TextBox>
				</td><td>其他用户不会看到该邮箱，但他们发给您的联系信息将被发往该邮箱。</td></tr>
			<tr><th colspan="3">个人门户信息</th></tr>
			<tr><td>域名：</td><td><asp:TextBox ID="txtDomain" runat="server"></asp:TextBox></td><td>您可以通过“http://[域名].xpus.net”访问您的个人站点。其中“[域名]”即您在这里输入的内容。域名一经输入，即无法修改。</td></tr>
		</table>
    </div>
    <asp:Button ID="btnRegister" runat="server" Text="注册" 
		onclick="btnRegister_Click" />
    </form>
</body>
</html>
